]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionSystem: Support locking down extension installation
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 9 Feb 2024 23:58:27 +0000 (00:58 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 14 Feb 2024 16:20:59 +0000 (16:20 +0000)
commitc170d6c9564e53ade09974aafbbeaf09d20d97a1
treea1b2e51206b20e019917911822b1dfecca1f552e
parent8f2ab674fc644824a818741f6e6bde1977f8a865
extensionSystem: Support locking down extension installation

Currently extensions can only be locked down completely by
restricting the `enabled-extensions` key via dconf.

This is too restrictive for environments that want to allow users
to customize their system with extensions, while still limiting
the set of possible extensions.

To fill that gap, add a new `allow-extension-installation` setting,
which restricts extensions to system extensions when disabled.

As the setting is mainly intended for locking down by system
administrators, there is no attempt to load/unload extensions
on settings changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3180>
data/org.gnome.shell.gschema.xml.in
js/misc/dbusErrors.js
js/ui/extensionDownloader.js
js/ui/extensionSystem.js